package com.sf.fy.uav.rest;

import com.sf.fy.uav.service.IInvitationRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

/**
 * <p>
 * 邀请码记录表 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-08-23
 */
@Controller
@RequestMapping("/sys/invitation-record")
public class InvitationRecordRest {

    @Autowired
    private IInvitationRecordService iInvitationRecordService;

    public Long selectCountByInvitationCodeId(String invitationCodeId) {
        return iInvitationRecordService.selectCountByInvitationCodeId(invitationCodeId);
    }
}
